package com.naiterui.ehp.bs.recommend.repository.mysql;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.recommend.bean.DrCommonPrescription;


@Repository
public interface IDrCommonPrescriptionRepository extends BaseJpaRepository<DrCommonPrescription, Long> {

    Page<DrCommonPrescription> findByDoctorIdOrderByCreatedAtDesc(Long doctorId, Pageable pageable);
}
